home *** CD-ROM | disk | FTP | other *** search
Text File | 2000-09-28 | 2.0 KB | 57 lines | [ttro/ttxt] |
- StandardGetFolder
-
- Contents
- A sample which shows how to use CustomGetFile for selecting an alias file itself rather than the target item of the alias file.
-
- Technology
- Standard File dialogs
-
- Environment
- CodeWarrior Pro 2
-
- Version
- 1.0
-
- Copyright: © 1999 by Apple Computer, Inc., all rights reserved
-
- Bugs?: For bug reports, consult the following page on the World Wide Web:
-
- http://developer.apple.com/bugreporter/
-
- ========================================================================
- You may incorporate this sample code into your applications without restriction, though
- the sample code has been provided “AS IS” and the responsibility for its operation is 100%
- yours. However, what you are not permitted to do is to redistribute the source as
- “DSC Sample Code” after having made changes. If you’re going to re-distribute the source,
- we require that you make it clear in the source that the code was descended from Apple
- Sample Code, but that you’ve made changes.
- ========================================================================
-
- A Few Notes:
-
- The routines in this file have been tested, though not exhaustively so.
- They should not be used as the basis of the final code you use in your
- application without further testing.
-
- The error reporting is fairly complete, but there could be errors encounter
- which deserve a more descriptive message than is displayed here.
-
- This code assumes the presence of System 7 or later. You should check
- the system version before using these routines in your code.
-
- This routine uses CustomGetFile dialog, supplying custom filter and hook functions.
-
- The MoreFiles package is used for some of the sanity checking in the routines,
- and is not included with this project. You will need to obtain the
- MoreFiles package (from the developer ftp site) to build an use this project.
-
- Andy Bachorski - Apple Developer Technical Support (DTS)
-
- Writers:
-
- (afb) Andy Bachorski
-
- Change History (most recent first):
-
- 2/09/99 afb
- New Project